package com.xinke.module.system.model.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户和岗位关联新增/修改 Request VO")
@Data
public class UserPostSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "24198")
    private Long userPostId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18660")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "岗位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6706")
    @NotNull(message = "岗位ID不能为空")
    private Long postId;

}